package com.androidx.p013lv.invention.activity;

import android.view.View;
import com.androidx.p013lv.base.bean.VideoBean;
import com.androidx.p013lv.base.p015ui.BaseActivity;
import com.androidx.p013lv.invention.C1069R;
import com.androidx.p013lv.invention.databinding.ActivityVideoBinding;
import com.androidx.p013lv.invention.fragment.VideoFragment;
import com.gyf.immersionbar.ImmersionBar;

/* renamed from: com.androidx.lv.invention.activity.VideoActivity */
public class VideoActivity extends BaseActivity<ActivityVideoBinding> {
    public VideoBean data;

    @Override // com.androidx.p013lv.base.p015ui.BaseActivity
    public int setLayout() {
        return C1069R.C1074layout.activity_video;
    }

    /* access modifiers changed from: protected */
    @Override // com.androidx.p013lv.base.p015ui.BaseActivity
    public void initView() {
        super.initView();
        getSupportFragmentManager().beginTransaction().add(C1069R.C1072id.fragment_container, VideoFragment.newInstance(this.data)).commitAllowingStateLoss();
        ((ActivityVideoBinding) this.binding).tvBack.setOnClickListener(new View.OnClickListener() {
            /* class com.androidx.p013lv.invention.activity.VideoActivity.View$OnClickListenerC11131 */

            public void onClick(View view) {
                VideoActivity.this.finish();
            }
        });
    }

    @Override // com.androidx.p013lv.base.p015ui.BaseActivity
    public void initImmersionBar() {
        ImmersionBar.with(this).statusBarDarkFont(false).titleBar(((ActivityVideoBinding) this.binding).toolbar).init();
    }
}
